#include "general.h" 
#include <wx/snglinst.h>
#include "mainframe.h"
#include "app.h"

#include "globals.h"

IMPLEMENT_APP(CApp)

CApp::CApp(void)
{
}

CApp::~CApp(void)
{
}

bool CApp::OnInit()
{
	UINT types = GetOutOfDateMaterialTypes();

	m_pMainFrame = new CMainFrame(NULL);
	m_pMainFrame->Show(TRUE);

    SetTopWindow(m_pMainFrame);

    return TRUE;
} 
